using QQZiFramework;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace TestProject1
{
    [DBTable(TableName = "A3_ShopCategories", TreeMode = DBTreeMode.LevelTable)]
    public class ShopCategoryNoMarkDelete : ITreeDBEntity
    {
        [DBField(Usage = DBFieldUsage.PrimaryKey)]
        public int Id { get; set; }
        [DBField(Usage = DBFieldUsage.ForeignKey, ForeignTable = "A3_ShopCategories", ForeignProperty = "Id")]
        public int ParentId { get; set; }
        public string Name { get; set; }
        public string Picture { get; set; }
        public string CommentSugges { get; set; }

        [JsonConverter(typeof(UnixTimeConverter))]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 是否首页显示  是的话为1
        /// </summary>
        [DBField(ExcludeOEMS = "MINICRM,DDPAY,YSB,ZR")]
        public int? IndexShow { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        [DBField(IncludeOEMS = "XZB")]
        public string Icon { get; set; }
         
        public int? Status { get; set; }

    }
}




